package com.tiantianfresh.admin.service;

import com.tiantianfresh.model.pojo.Categorygrouping;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategorygroupingService {
    //Categorygrouping,返回list集合
    List<Categorygrouping> selectAll();
    //增加一个CategorygroupingService
    int addCategorygrouping(Categorygrouping categorygrouping);
    //根据id删除一个Categorygrouping
    int deleteCategorygroupingById(@Param("id") int id);
    //更新Categorygrouping
    int updateCategorygrouping(Categorygrouping categorygrouping);
    //根据id查询Categorygrouping
    Categorygrouping queryCategorygroupingById(@Param("id") int id);
}
